#ifndef CHATCONTENT_H
#define CHATCONTENT_H

#include <QWidget>
#include <QDebug>
#include "uidesign.h"

namespace Ui {
class chatContent;
}

class chatContent : public QWidget
{
    Q_OBJECT

public:
    explicit chatContent(QWidget *parent = 0);
    explicit chatContent(QString name, QString id, QString time, QString content, QWidget *parent = 0);
    void design(QString id);
    ~chatContent();

private slots:
    QString colorById(int i);

private:
    Ui::chatContent *ui;
};

#endif // CHATCONTENT_H
